from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
_magic_number = 2
_modified_time = 1204848669.9300001
_template_filename='C:\\Documents and Settings\\marcos.iuato.IDG\\myfirstproject\\myfirstproject\\templates/ping.mako'
_template_uri='/ping.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
_exports = ['head_tags']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, 'base.mako', _template_uri)
def render_body(context,**pageargs):
    context.caller_stack.push_frame()
    try:
        __M_locals = dict(pageargs=pageargs)
        h = context.get('h', UNDEFINED)
        session = context.get('session', UNDEFINED)
        # SOURCE LINE 2
        context.write(u'\n\n')
        # SOURCE LINE 7
        context.write(u'\n\nHello, welcome to the wonderfull \n')
        # SOURCE LINE 10
        context.write(unicode(h.link_to_remote("ping!", dict(update="pongbox", url=h.url_for(action='pong'), complete=h.visual_effect('Highlight', "pongbox", duration=1)))))
        context.write(u' \ncontroller! \n\n<div id="pongbox" style="background:red;width:200;height:300"></div>\n\n\n<image id="my_image" src="http://imagem.buscape.com.br/cl2/2342/note_idg.jpg">\n\ncount: ')
        # SOURCE LINE 18
        context.write(unicode(session['count']))
        context.write(u'\n')
        # SOURCE LINE 19
        context.write(unicode(h.draggable_element("my_image", revert=True)))
        context.write(u'\n')
        # SOURCE LINE 20
        context.write(unicode(h.drop_receiving_element("pongbox", update="pongbox", url=h.url_for(action="addpong" ))))
        context.write(u'\n\n\n')
        return ''
    finally:
        context.caller_stack.pop_frame()


def render_head_tags(context):
    context.caller_stack.push_frame()
    try:
        h = context.get('h', UNDEFINED)
        # SOURCE LINE 4
        context.write(u'\n    <title>ping example</title>\n    ')
        # SOURCE LINE 6
        context.write(unicode(h.javascript_include_tag(builtins=True)))
        context.write(u'\n')
        return ''
    finally:
        context.caller_stack.pop_frame()


